package com.weme.common.viewmodel

import com.weme.common.base.BaseViewModel
import com.weme.common.network.NetWorkUrl
import dev.kratos.api.user_server.v1.*

class LookBigImgViewMode:BaseViewModel() {
    fun delAlbumApi(req: DeleteAlbumRequest) {
        val reqByte = req.toByteArray()
        sendNetworkRequest(reqByte, NetWorkUrl.DeleteAlbum)
    }
    fun sendGift(req: SendGiftRequest) {
        sendNetworkRequest(req.toByteArray(),
            NetWorkUrl.SendGiftLookBigImg )
    }
    fun  setReport(req: ReportRequest){
        sendNetworkRequest(req.toByteArray(),
            NetWorkUrl.LookImgReport )
    }

}